+2008-10-09 Christian Dywan <christian@imendio.com>
+
+ Bug 555578 – GtkTable propertiy maxima are wrong
+
+ * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
+ Always use 65535 instead of G_MAXUINT since that is
+ the actually supported maximum number of columns and rows
+
2008-10-09 Richard Hult <richard@imendio.com>
Bug 550342 – Splash screens have a caption
P_("Rows"),
P_("The number of rows in the table"),
1,
- G_MAXUINT,
+ 65535,
1,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
P_("Columns"),
P_("The number of columns in the table"),
1,
- G_MAXUINT,
+ 65535,
1,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
P_("Row spacing"),
P_("The amount of space between two consecutive rows"),
0,
- G_MAXUINT,
+ 65535,
0,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
P_("Column spacing"),
P_("The amount of space between two consecutive columns"),
0,
- G_MAXUINT,
+ 65535,
0,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
guint n_cols)
{
g_return_if_fail (GTK_IS_TABLE (table));
- g_return_if_fail (n_rows > 0 && n_rows < 65536);
- g_return_if_fail (n_cols > 0 && n_cols < 65536);
+ g_return_if_fail (n_rows > 0 && n_rows <= 65535);
+ g_return_if_fail (n_cols > 0 && n_cols <= 65535);
n_rows = MAX (n_rows, 1);
n_cols = MAX (n_cols, 1);